<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>

<html lang="#{localeBean.currentLanguage}"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">

<f:view locale="#{localeBean.currentLanguage}"  />

<ui:insert name="metadata" />

<h:head>
    <title>#{applicationState.applicationName}</title>
    <h:outputStylesheet name="css/structure.css" />
</h:head>

<h:body>
    <div class="main-wrapper">
        <div class="header-wrapper">
            <ui:insert name="header" />
        </div>
        <div class="content-wrapper">
            <div class="content-left">
                <div class="content-titles">
                    <ui:insert name="titles" />
                </div>
            </div>
            <div class="content-right">
                <div class="content-page">
                    <ui:insert name="content" />
                </div>
            </div>
        </div>
    </div>
</h:body>

</html>